package homeWork;

public class Demo01 {
    public static void main(String[] args) {
        double min = getMin(3.14, 4.13);
        System.out.println("较小值是" + min);
    }

    public static double getMin(double a ,double b){
        if(a < b){
            return a;
        }else{
            return b;
        }
    }
}